﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BaseData.Domain
{
    /// <summary>
    /// 审批日志表
    /// </summary>
    public class ApprovalNlog:BaseEneity
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int ApprrovalLogId { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? ApprovalLogDate { get; set; }
        /// <summary>
        /// 操作人员
        /// </summary>
        [MaxLength(50)]
        public string? ApprovalLogName { get; set; }
        /// <summary>
        /// 审批类型【合同、订单、汇款、退款、报销、请假、出差、借款】
        /// </summary>
        [StringLength(20)]
        public string? ApprovalType {  get; set; }
        /// <summary>
        /// 业务编号【H+20250521】
        /// </summary>
        public string? BusinessNo {  get; set; }
        /// <summary>
        /// 提交时间
        /// </summary>
        public DateTime? SubmitTime { get; set; }
        /// <summary>
        /// 审批状态
        /// 1：通过，2：拒绝，3：驳回
        /// </summary>
        public int ApprovalState {  get; set; }
    }
}
